﻿<Window x:Class="Freshome.m.vws.UserInfox"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Style="{StaticResource smaller}" 
        Title="用户登录" WindowStartupLocation="CenterOwner" Loaded="Window_Loaded">
    <DockPanel LastChildFill="True" HorizontalAlignment="Center">
        <StackPanel DockPanel.Dock="Top">
            <DockPanel LastChildFill="True" Margin="2">
                <TextBlock DockPanel.Dock="Left">名称：</TextBlock>
                <TextBox x:Name="userName"></TextBox>
            </DockPanel>
            <DockPanel LastChildFill="True" Margin="2">
                <TextBlock DockPanel.Dock="Left">密码：</TextBlock>
                <PasswordBox x:Name="userPass"></PasswordBox>
            </DockPanel>
        </StackPanel>
        <StackPanel Orientation="Horizontal" Margin="2" DockPanel.Dock="Bottom" HorizontalAlignment="Right">
            <Button IsDefault="True" Margin="2" Padding="2" Command="{Binding Path=Fetch}" Content="{Binding Path=Fetch.Name}"></Button>
            <Button IsCancel="True" Margin="2" Padding="2">取消</Button>
        </StackPanel>
        <TextBlock>备注：提供中心系统（非本地）的用户名与密码！</TextBlock>
    </DockPanel>
</Window>
